<template>
  <div>
     <div class="footer_wrap">
      <router-link to="/login">登录</router-link>
      <router-link to="/registered">注册</router-link>
      <router-link to="/article">文章</router-link>
      <router-link to="/list">列表</router-link>
    </div>
    <div class="top"></div>
    <router-view></router-view>
   </div>
</template>
 
<script>
export default {
};
</script>

<style scoped >
   .footer_wrap {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  width: 15%;
  text-align: center;
  background-color: #ffffff;
  color: #5e2d90;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 20px 0;
  line-height: 20px;
  background-color: #ffffff;
  color: #5e2d90;
  border-top: 1px solid #e6e7e8;
  border-bottom: 1px solid black;
}
.footer_wrap a:hover {
  color: #ff0000;
}
.top {
  padding-top: 62px;
}
.router-link-active{
  color: #ff0000 !important;
}
</style>